minor fixes and MySQL5Translator change
bug fix