fixed grab_courses