removed console logging in db