fix the bug can not find the dbfile