fixed a bug in student