diff --git a/dune/fem-dg/algorithm/sub/steadystate.hh b/dune/fem-dg/algorithm/sub/steadystate.hh
index 9c65fbc8a989903b990d11bc1583d3c798372333..99c2c06c59f0a15c3899af3af6d4fa761bb1ad86 100644
--- a/dune/fem-dg/algorithm/sub/steadystate.hh
+++ b/dune/fem-dg/algorithm/sub/steadystate.hh
@@ -264,8 +264,8 @@ namespace Fem
         exactSolution_( container_.exactSolution() ),
         rhs_( container_.rhs() ),
         rhsOperator_( doCreateRhsOperator() ),
-        solver_( nullptr ),
         ioTuple_( new IOTupleType( std::make_tuple( solution_.get(), exactSolution_.get() ) ) ),
+        solver_( nullptr ),
         solverMonitor_( name() ),
         diagnostics_( name() ),
         additionalOutput_( name() )
diff --git a/dune/fem-dg/examples/stokes/stokesalgorithm.hh b/dune/fem-dg/examples/stokes/stokesalgorithm.hh
index f5bb10506dd349e46923f0fe213ebc5c23a4d646..7045fea8275a0d9df56cd44e11c3e6c6fa45f682 100644
--- a/dune/fem-dg/examples/stokes/stokesalgorithm.hh
+++ b/dune/fem-dg/examples/stokes/stokesalgorithm.hh
@@ -322,8 +322,8 @@ namespace Fem
       BaseType( grid, container.template adapter<1>() ),
       container_( container ),
       space_( container_.template adapter<1>().space() ),
-      ellAlg_( grid, container_.template adapter<0>() ),
       assembler_( container_, model() ),
+      ellAlg_( grid, container_.template adapter<0>() ),
       ioTuple_( new IOTupleType( *BaseType::dataTuple(), *ellAlg_.dataTuple() ) ),
       stokesSigmaEstimator_( new StokesSigmaEstimatorType( container_.template adapter<1>().gridPart(), ellAlg_.solution(), solution(), ellAlg_.assembler(), name() ) )
     {