Fixed two placed that ran deprecated initDb()