course-module detach/attach working