fixed small bug in ListCoursesCtrl