fix teachers error