fix a missed inbound/outbound to_node/from_node