undefined variable: dentist_data - fixed