refactor change node_repr to node_extern