     //MARK: - Add and Update Anime Query
     func makeAnimeQuerty(params: Dictionary<String, Any>, type: Int) -> String? {
         let query :Array<Any?> = parseAnimeParam(params:params)
-        let query_check = query.flatMap{$0}
-        if query_check.count == 0{
-            return nil
-        }
         var str = "<entry>"
         if query[0] as? Int != nil {
             str += "<episode>"

    //MARK: - Add and Update Manga Query
    func makeMangaQuerty(params: Dictionary<String, Any>, type: Int) -> String? {
        let query :Array<Any?> = parseMangaParam(params:params)
        let query_check = query.flatMap{$0}
        if query_check.count == 0{
            return nil
        }
        var str = "<entry>"
        if query[0] as? Int != nil {
            str += "<chapter>"

    //MARK: -  parse manga param
    private func parseMangaParam(params: Dictionary<String, Any>) -> Array<Any?>{
        let parsedParams = [params["chapter"],params["volume"],params["status"],params["score"],params["times_reread"],params["reread_value"],
                           params["date_start"], params["date_finish"],params["priority"],
                           params["enable_discussion"],params["enable_rereading"],params["comments"],
                           params["scan_group"],params["tags"],params["retail_volumes"]]
        return parsedParams
