diff --git a/corsika/setup/SetupStack.hpp b/corsika/setup/SetupStack.hpp
index 7d1894e4cd8c00fa88ec290e4032a11cc5550d1b..d08c75961d0f2176883ff93034a0d1f931d347c5 100644
--- a/corsika/setup/SetupStack.hpp
+++ b/corsika/setup/SetupStack.hpp
@@ -25,7 +25,7 @@ namespace corsika::setup {
    * the version with history
    */
   template <typename TEnvironment>
-  using Stack = typename detail::StackGenerator<TEnvironment>::StackWithWeight;
+  using Stack = typename detail::StackGenerator<TEnvironment>::StackWithHistory;
 
 #else // WITH_HISTORY