diff --git a/miniapp/io.cpp b/miniapp/io.cpp
index e6fba80211261f081969d8d7abd0e8fd33452e44..887848b549b7bad46574b92ac9fcde74faae5d5c 100644
--- a/miniapp/io.cpp
+++ b/miniapp/io.cpp
@@ -8,7 +8,7 @@ namespace io {
 // for now this is just a placeholder
 options read_options(std::string fname) {
     // 10 cells, 1 synapses per cell, 10 compartments per segment
-    return {1000, 1, 100};
+    return {200, 1, 100};
 }
 
 std::ostream& operator<<(std::ostream& o, const options& opt) {
diff --git a/miniapp/miniapp.cpp b/miniapp/miniapp.cpp
index e3ad9b92cbc8595aaa66a62f1ff290d9b4118071..d99e43e5bdeba33439f044cd2c3aa2efe657c16c 100644
--- a/miniapp/miniapp.cpp
+++ b/miniapp/miniapp.cpp
@@ -150,7 +150,7 @@ int main(int argc, char** argv) {
     //
     //  time stepping
     //
-    auto tfinal = 200.;
+    auto tfinal = 20.;
     auto dt = 0.01;
 
     auto id = m.communicator.domain_id();
diff --git a/src/profiling/profiler.hpp b/src/profiling/profiler.hpp
index c6f5244e763b66406d71cabeffc3f1c925433601..7230697baab21f914fa3b92f4ffbed4382b062b6 100644
--- a/src/profiling/profiler.hpp
+++ b/src/profiling/profiler.hpp
@@ -218,8 +218,10 @@ void profiler_enter(const char* n);
 /// enter nested profiler regions in a single call
 template <class...Args>
 void profiler_enter(const char* n, Args... args) {
+#ifdef WITH_PROFILING
     get_profiler().enter(n);
     profiler_enter(args...);
+#endif
 }
 
 /// move up one level in the profiler