reset teacher’s code