improved db path