fixed the db file