don't crash if no course is selected when browsing categories/courses