fix bug in mysql client