fix removegroup