correct db-connection