remove middle node done