Fix teacher not resetting bug