fixed the issue of deleting a sequential node