fixed bug in db setup file