diff --git a/Demo.cpp b/Demo.cpp
index 0e9f2e3634264e02268bc99dc078ff9cda8a93cc..fb8fc4f9500cfe5999b892d1dd76f0eea73533af 100644
--- a/Demo.cpp
+++ b/Demo.cpp
@@ -14,7 +14,7 @@ based  on original demo.cpp
 
 
 #define PROCESS_CENTER_VERSION_MAJOR 0
-#define PROCESS_CENTER_VERSION_MINOR 6
+#define PROCESS_CENTER_VERSION_MINOR 8
 
 //opencv
 #include <opencv2/opencv.hpp>
@@ -306,14 +306,14 @@ int main(int argc, char * argv[])
     int everyPic=60*5;
 
     int frameCounter=0;
-    for(frameCounter=0;i<amountFiles;frameCounter++)
+    for(frameCounter=0;frameCounter<amountFiles;frameCounter++)
     {
 
         //measure time consumption
         clock_t begin = clock();
 
         fileName =  inputDir + TToolBox::getFileName(frameCounter);
-        cout <<"\t"<<i<<"\tof \t"<<amountFiles<<"  load file :"<< fileName<<endl;
+        cout <<"\t"<<frameCounter<<"\tof \t"<<amountFiles<<"  load file :"<< fileName<<endl;
         //cv::imwrite(convert.str().c_str(), img_output);
         //we open the file
         img_input = imread(fileName.c_str(), CV_LOAD_IMAGE_COLOR);
diff --git a/Demo2.cpp b/Demo2.cpp
index 3ce643189c85c8a74096a9ab7be41d45450cdba9..e518a8c9b576f5d7d45e37b6c7b6437ea6f344be 100644
--- a/Demo2.cpp
+++ b/Demo2.cpp
@@ -14,7 +14,7 @@ based  on original demo.cpp
 
 
 #define PROCESS_CENTER_VERSION_MAJOR 0
-#define PROCESS_CENTER_VERSION_MINOR 6
+#define PROCESS_CENTER_VERSION_MINOR 2
 
 //opencv
 #include <opencv2/opencv.hpp>