fix of deleting points