diff --git a/BaseLib/ConfigTree.cpp b/BaseLib/ConfigTree.cpp
index faa829e5b8a70ca63071f600c3e4b1bb46cedd37..570c5c75a2206b9463f146f6c037f96870846f51 100644
--- a/BaseLib/ConfigTree.cpp
+++ b/BaseLib/ConfigTree.cpp
@@ -115,23 +115,23 @@ ConfigTree& ConfigTree::operator=(ConfigTree&& other)
     return *this;
 }
 
-ConfigTree ConfigTree::getConfigParameter(std::string const& root) const
+ConfigTree ConfigTree::getConfigParameter(std::string const& param) const
 {
-    auto ct = getConfigSubtree(root);
+    auto ct = getConfigSubtree(param);
     if (ct.hasChildren())
     {
-        error("Requested parameter <" + root + "> actually is a subtree.");
+        error("Requested parameter <" + param + "> actually is a subtree.");
     }
     return ct;
 }
 
 std::optional<ConfigTree> ConfigTree::getConfigParameterOptional(
-    std::string const& root) const
+    std::string const& param) const
 {
-    auto ct = getConfigSubtreeOptional(root);
+    auto ct = getConfigSubtreeOptional(param);
     if (ct && ct->hasChildren())
     {
-        error("Requested parameter <" + root + "> actually is a subtree.");
+        error("Requested parameter <" + param + "> actually is a subtree.");
     }
     return ct;
 }
diff --git a/BaseLib/ConfigTree.h b/BaseLib/ConfigTree.h
index fff3525c9d0b29a1abc76d8e80775e3bb0e0d6d8..1f97b409168674ec4f12fcc0645d4c0c335a7fad 100644
--- a/BaseLib/ConfigTree.h
+++ b/BaseLib/ConfigTree.h
@@ -382,7 +382,7 @@ public:
      * \pre \c param must not have been read before from this ConfigTree.
      */
     std::optional<ConfigTree> getConfigParameterOptional(
-        std::string const& root) const;
+        std::string const& param) const;
 
     /*! Fetches all parameters with name \c param from the current level of the
      * tree.