diff --git a/tutorials/demos.C b/tutorials/demos.C
index 2c079d1a95c6ce61af62a39bae9a0de1a74c6b32..d9ceaf2c4532e35fdfe092665868da6457ba4712 100644
--- a/tutorials/demos.C
+++ b/tutorials/demos.C
@@ -7,8 +7,7 @@
 ///
 /// \author Rene Brun
 
-{
-   gROOT->Reset();
+void demos() {
 
    //Add the tutorials directory to the macro path
    //This is necessary in case this macro is executed from another user directory