fix mysql stmt bug