fix path to database