diff --git a/NumLib/Fem/ShapeFunction/ShapeTri3.h b/NumLib/Fem/ShapeFunction/ShapeTri3.h
index a82a0f526734c6b30728fa266efd5ca13d82a03f..6de24ad75a357624968dbf1a72b317868715bdba 100644
--- a/NumLib/Fem/ShapeFunction/ShapeTri3.h
+++ b/NumLib/Fem/ShapeFunction/ShapeTri3.h
@@ -20,6 +20,7 @@ namespace NumLib
 /**
  *  Shape function for a triangle element of three nodes in natural coordinates
  *
+ * \verbatim
  *  3 (0,1)
  *    *
  *  s | \
@@ -27,6 +28,7 @@ namespace NumLib
  *    |     \
  *    *------* r
  *  1 (0,0)    2 (1,0)
+ * \endverbatim
  */
 class ShapeTri3
 {
diff --git a/ProcessLib/TimeLoop.cpp b/ProcessLib/TimeLoop.cpp
index 2ce9cb19695085e60d61bf207acb9f60fc547611..dfdb452a7dcfa9cba033f9757f506ba36e1f2989 100644
--- a/ProcessLib/TimeLoop.cpp
+++ b/ProcessLib/TimeLoop.cpp
@@ -381,9 +381,9 @@ std::pair<double, bool> TimeLoop::computeTimeStepping(
     }
 
     // adjust step size considering external communciation_point_calculators
-    for (auto const& time_step_constain : time_step_constraints)
+    for (auto const& time_step_constraint : time_step_constraints)
     {
-        dt = std::min(dt, time_step_constain(t, dt));
+        dt = std::min(dt, time_step_constraint(t, dt));
     }
 
     // Check whether the time stepping is stabilized