fix mysql query bug