fixing group-course relation