correct the db setup