fixing database listed in config file