fix problems with mysql client 5.5