fix bug in subject_rating