fix missing db file