fix database config file