bug: null filename in dbPath