fixed query at doctorHome