fix course_events redirect