fixed database config