Correct db connections