added auto-delete empty group