Fix setTeacher API Func