select parent when a node is cut