/api/teacher/pref/component fix