diff --git a/src/regionModels/thermalBaffleModels/thermalBaffleModel/thermalBaffleModelNew.C b/src/regionModels/thermalBaffleModels/thermalBaffleModel/thermalBaffleModelNew.C
index ee6831c9ee4fcc6d8235a4de43371856b38628e0..90ed6065e2e14bec5360b77063d93df08da40888 100644
--- a/src/regionModels/thermalBaffleModels/thermalBaffleModel/thermalBaffleModelNew.C
+++ b/src/regionModels/thermalBaffleModels/thermalBaffleModel/thermalBaffleModelNew.C
@@ -38,9 +38,8 @@ namespace thermalBaffleModels
 
 autoPtr<thermalBaffleModel> thermalBaffleModel::New(const fvMesh& mesh)
 {
-    word modelType;
-    {
-        IOdictionary thermalBafflePropertiesDict
+    const word modelType =
+        IOdictionary
         (
             IOobject
             (
@@ -51,15 +50,7 @@ autoPtr<thermalBaffleModel> thermalBaffleModel::New(const fvMesh& mesh)
                 IOobject::NO_WRITE,
                 false
             )
-        );
-
-        word modelType =
-            thermalBafflePropertiesDict.lookupOrDefault<word>
-            (
-                "thermalBaffleModel",
-                "thermalBaffle"
-            );
-    }
+        ).lookupOrDefault<word>("thermalBaffleModel", "thermalBaffle");
 
     auto cstrIter = meshConstructorTablePtr_->cfind(modelType);
 
@@ -84,7 +75,7 @@ autoPtr<thermalBaffleModel> thermalBaffleModel::New
     const dictionary& dict
 )
 {
-    word modelType =
+    const word modelType =
         dict.lookupOrDefault<word>("thermalBaffleModel", "thermalBaffle");
 
     auto cstrIter = dictionaryConstructorTablePtr_->cfind(modelType);