fix path to database.json