fix mysql insert query