remove duplicated addToGroup