fix mysql_free_result