Removes the points correctly and add the id-span.