fix path to db, locale