diff --git a/dumux/common/parameters.hh b/dumux/common/parameters.hh
index a6abfa6920f36a0443bfaf6be494a7837d494a6c..58ba1d4a01278f73d0b236accd52dfab4aebca6d 100644
--- a/dumux/common/parameters.hh
+++ b/dumux/common/parameters.hh
@@ -32,6 +32,7 @@
 
 #include <dune/common/parametertree.hh>
 
+#include <iostream>
 #include <sstream>
 #include <list>
 #include <unordered_map>
@@ -354,7 +355,7 @@ private:
             paramName = groupOrParamName;
         }
 
-        static std::string modelParamGroup(GET_PROP(TypeTag, PTAG(ModelParameterGroup))::value());
+        static std::string modelParamGroup(GET_PROP(TypeTag, PTAG(ModelParameterGroup))::value);
 
         std::string canonicalName(modelParamGroup);