remove duplicated tags