fix subject_average