fixed bug that prevented printing after removing any course