Fix TeacherIndex Bug