changed get_context to context_course::instance