fixed minor bugs relating to printing courses with angular