fixing database file configuration