fix bad mysql command