fixing db path