Remove add_escape_custom function from post variables and put it in the variables in query, Remove twice binding in simple queries.