diff --git a/source/src/Scenario.cxx b/source/src/Scenario.cxx
index 05aee315569db7d8236bb3bef1080657bc4eda7a..81326d04646c2554700677be2c7e05a97bd3fb3d 100644
--- a/source/src/Scenario.cxx
+++ b/source/src/Scenario.cxx
@@ -716,7 +716,7 @@ void Scenario::ProgressPrintout(cSecond t)
 
 	else
 	{
-		system("clear");
+		int system_out = system("clear");
 		/****Printing CLASS  info + nuclear clover****/
 		if(fCloverCount>3)
 			fCloverCount=0;
@@ -738,7 +738,7 @@ void Scenario::ProgressPrintout(cSecond t)
 
 		Completed << "\033[0m";
 
-		for(int i = ProgressBarlength; i >= (int)(Time/Total*ProgressBarlength); i--)
+		for(int i = ProgressBarlength; i > (int)(Time/Total*ProgressBarlength); i--)
 			Completed << " ";
 
 		cout<<Completed.str();