changed get_context_instance.... to context_course::....