fixed bug of filtering the semester