remove duplicated tree