diff --git a/ProcessLib/ThermoMechanics/ThermoMechanicsProcessData.h b/ProcessLib/ThermoMechanics/ThermoMechanicsProcessData.h
index 5ac1bb4210a7dedd2caa2c0c9bfa9a062b8e6e1b..b59fc749ac87f3668be6d1b646dae93aced478cb 100644
--- a/ProcessLib/ThermoMechanics/ThermoMechanicsProcessData.h
+++ b/ProcessLib/ThermoMechanics/ThermoMechanicsProcessData.h
@@ -9,11 +9,14 @@
 
 #pragma once
 
-namespace MeshLib
+namespace MaterialLib
 {
-class Element;
+namespace Solids
+{
+template <int DisplacementDim>
+struct MechanicsBase;
+}
 }
-
 namespace ProcessLib
 {
 namespace ThermoMechanics
@@ -73,8 +76,8 @@ struct ThermoMechanicsProcessData
         thermal_conductivity;  // TODO To be changed as a matrix type variable.
     double const reference_temperature;
     Eigen::Matrix<double, DisplacementDim, 1> const specific_body_force;
-    double dt;
-    double t;
+    double dt = 0;
+    double t = 0;
 
     EIGEN_MAKE_ALIGNED_OPERATOR_NEW;
 };