fix the validation bug in student