remove the marker after deleting a vertex