fixes dentist verification logic