mysql fixes
cleanup