fix some bug in students' part and teachers' part