fix teacher level bugs