correct db config