Fixed db environment vars