remove duplicate root