fix numcourses/numunits getting