fix a bug related to semester