db connection fixed i hope