bug fix in edit student view and back to class