move some action from course to save course.