added fix for missing db file