fix bug in student quiz model