diff --git a/examples/corsika.cpp b/examples/corsika.cpp
index daeb46025017a0e33cc6dd6ab4ce5ef677399b7d..a7e9dca6b2666b4dcda9176eaadba0575af135f1 100644
--- a/examples/corsika.cpp
+++ b/examples/corsika.cpp
@@ -371,7 +371,7 @@ int main(int argc, char** argv) {
   // assemble the final process sequence
   auto sequence = make_sequence(stackInspect, hadronSequence, decaySequence, cut,
                                 emCascade, emContinuous, // trackWriter,
-                                observationLevel, longprof);
+                                longprof, observationLevel);
   /* === END: SETUP PROCESS LIST === */
 
   // create the cascade object using the default stack and tracking