don't insert empty groups