db connection fixed