fix delete of node instance