fix teacherController