create groups as UI removes empty groups