diff --git a/src/main/webapp/shapes/bpmn/mxBpmnShape2.js b/src/main/webapp/shapes/bpmn/mxBpmnShape2.js
index ef1e9df467d47b93f423f7aa203fec20e860cb2d..a2d0af6297f45ef03beba026be43f60abb6195ed 100644
--- a/src/main/webapp/shapes/bpmn/mxBpmnShape2.js
+++ b/src/main/webapp/shapes/bpmn/mxBpmnShape2.js
@@ -295,7 +295,7 @@ mxBpmnShape.prototype.redrawPath = function(c, x, y, w, h, layer)
 					w = w * 0.76;
 				}
 				
-				isInverse = false;
+				var isInverse = false;
 				
 				if (s === 'star')
 				{