     //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["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

    //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>"

            str += "<date_start>"
            str += self.dateString(date: query[6] as! Date)
            str += "</date_start>"
        }else if query[6] as? String == ""{
            str += "<date_start>"
            str += "</date_start>"
        }
        if query[7] as? Date != nil {
            str += "<date_finish>"
            str += self.dateString(date: query[7] as! Date)
            str += "</date_finish>"
        }else if query[7] as? String == "" {
            str += "<date_finish>"
            str += "</date_finish>"
        }
        if query[8] as? Int != nil {
            str += "<priority>"
