fixed more of the teachers bugs