bug fixes
typo
fixed db->newtables
Merge pull request #157 from nZEDb/dev

Dev