Fix modStudent, setTeacher API Func