fix missing database file