fix 'missing tag-groups' bug