fixed undefined var issue in get_course.ctp