fixed bug when there are multiples of the same point