database config bugfix