recreating the db and fixing errors