removing vertex removes it's duplicates