bug fix for semesters