clear out group before deletion