fix bug for student not set grade