bugfix database config