remove duplicated snipped