Fix error in teacher form.