fixing addCourse