fixing db config.