database config fixed