diff --git a/src/node.cpp b/src/node.cpp
index ecec4392f624eee7fd989638d3ca80a4e21c2389..dc953fa18fbccb56e2a8f662fcfbc66e0da5a908 100644
--- a/src/node.cpp
+++ b/src/node.cpp
@@ -24,7 +24,7 @@ WolfRosNode::WolfRosNode()
     std::cout <<"yaml: " << yaml_file << std::endl;
     int found = yaml_file.find_last_of("\\/");
     std::string yaml_dir = yaml_file.substr(0, found);
-    ParserYAML parser = ParserYAML(yaml_file, yaml_dir);
+    ParserYaml parser = ParserYaml(yaml_file, yaml_dir);
     ParamsServer server = ParamsServer(parser.getParams());
 
     server.addParam("plugins_path", plugins_path);