diff --git a/corsika/detail/framework/core/Cascade.inl b/corsika/detail/framework/core/Cascade.inl
index 7aabfed10e072a36dc522e9cf6f672dba76b9d51..b003e83d48b5b541cca6537fee7a4dcd017e1c2a 100644
--- a/corsika/detail/framework/core/Cascade.inl
+++ b/corsika/detail/framework/core/Cascade.inl
@@ -216,7 +216,7 @@ namespace corsika {
       }
       return;
     }
-    vParticle.setTime(vParticle.getTime() + step.getDuration());
+    particle.setTime(particle.getTime() + step.getDuration());
     if (isContinuous) {
       return; // there is nothing further, step is finished
     }
diff --git a/corsika/detail/framework/process/ProcessSequence.inl b/corsika/detail/framework/process/ProcessSequence.inl
index c8bd3d0a4b9b9a2cb065a21cf45c732775a9d2a1..e27dbc9fda77de53ef65eb164e4e4bcae2d75e3c 100644
--- a/corsika/detail/framework/process/ProcessSequence.inl
+++ b/corsika/detail/framework/process/ProcessSequence.inl
@@ -443,7 +443,7 @@ namespace corsika {
 
   template <typename TProcess1, typename TProcess2, int IndexStart, int IndexProcess1,
             int IndexProcess2>
-  template <typename TSecondaryView>
+  template <typename TSecondaryView, typename TRNG>
   inline ProcessReturn
   ProcessSequence<TProcess1, TProcess2, IndexStart, IndexProcess1, IndexProcess2>::
       selectInteraction(TSecondaryView&& view, FourMomentum const& projectileP4,