fix some issues in course group