Fix delete course class