diff --git a/src/core/tnlCuda_impl.h b/src/core/tnlCuda_impl.h
index f0be3240751648548ae2a9bf1704f5d7832305d4..42ec1165994f66a55f0c0512795e4cf719b62d3d 100644
--- a/src/core/tnlCuda_impl.h
+++ b/src/core/tnlCuda_impl.h
@@ -92,6 +92,9 @@ ObjectType* tnlCuda::passToDevice( const ObjectType& object )
       return 0;
    }
    return deviceObject;
+#else
+   tnlAssert( false, cerr << "CUDA support is missing." );
+   return 0;
 #endif
 }
 
diff --git a/src/solvers/ode/tnlEulerSolver_impl.h b/src/solvers/ode/tnlEulerSolver_impl.h
index 2522596e58c280c4f66307d238b7e487963ff9f7..ad83fe96893c7f91e1ab5ed569e16ad697029e74 100644
--- a/src/solvers/ode/tnlEulerSolver_impl.h
+++ b/src/solvers/ode/tnlEulerSolver_impl.h
@@ -59,6 +59,7 @@ bool tnlEulerSolver< Problem > :: setup( const tnlParameterContainer& parameters
    tnlExplicitSolver< Problem >::setup( parameters, prefix );
    if( parameters.checkParameter( prefix + "euler-cfl" ) )
       this->setCFLCondition( parameters.getParameter< double >( prefix + "euler-cfl" ) );
+   return true;
 }
 
 template< typename Problem >
diff --git a/src/solvers/pde/tnlLinearSystemAssembler.h b/src/solvers/pde/tnlLinearSystemAssembler.h
index 065f2cf3d9f5781a353457b6659f0567bdbb8fe5..2e9812231f1be36d2cdf4d1cc7a9efee63199815 100644
--- a/src/solvers/pde/tnlLinearSystemAssembler.h
+++ b/src/solvers/pde/tnlLinearSystemAssembler.h
@@ -36,6 +36,8 @@ class tnlLinearSystemAssemblerTraverserUserData
 
       const Real* tau;
 
+      const Real* timeDiscretisationCoefficient;
+
       const DifferentialOperator* differentialOperator;
 
       const BoundaryConditions* boundaryConditions;
@@ -46,8 +48,6 @@ class tnlLinearSystemAssemblerTraverserUserData
 
       Matrix *matrix;
 
-      const Real* timeDiscretisationCoefficient;
-
       tnlLinearSystemAssemblerTraverserUserData( const Real& time,
                                                  const Real& tau,
                                                  const Real& timeDiscretisationCoefficient,