#67 fix sqlGenerator