correct database config