corrected bug select two point and remove bucle of points.