Fixed problem on delete points