fix mysql_query syntax