fix bug when multiple category groups are assigned to a channel