fix up logic that connects ControlGroups and RouteGroups