diff --git a/lib/Bar.js b/lib/Bar.js
index <HASH>..<HASH> 100755
--- a/lib/Bar.js
+++ b/lib/Bar.js
@@ -72,7 +72,10 @@ Bar.prototype.render = function(){
 
     // calculate the normalized current progress
     // handle NaN Errors
-    var progress = (this.value/this.total) || 1.0;
+    var progress = (this.value/this.total);
+    
+    if (isNaN(progress))
+        progress = 1.0;
 
     // limiter
     progress = Math.min(Math.max(progress, 0.0), 1.0);
fixes #<I> check for NaN explicitly

fixes #<I> check for NaN explicitly and allow 0 as starting value