# Revision history [back]

### [ROS2] Using create_sub_node leads to two nodes with same name

If I create a node, and then create a subnode, I see on the cmd line 2 nodes with same name!
I think this is a bug, or is this not the correct usage?

If you then check params for the base node, it's coincidence which params will be shown, either that of base_node or from sub_node.

  //base_node and base_node/test are expected
auto subnode = this->create_sub_node("test");
rclcpp::spin(subnode)