adjust groups.