TeacherController Bug Fix