fixing path to load db config