fixed bug involving caching of courses