Fixed db connection issues?