fix a bug in school subject_rating page