db path fixing