attempt to fix teachers pending bug