fixed minor bug causing erroneous results in last line of stu_per_crs