 			else
 			{
 				// disable pen
-				penTool.editMode.value = false;
+				penTool.editMode = false;
 				
 				_penToolMenuItem.caption = ENABLE_PEN;
 			}

	import weave.api.core.IDisposableObject;
	import weave.api.core.ILinkableContainer;
	import weave.api.core.ILinkableObject;
	import weave.api.newLinkableChild;
	import weave.core.LinkableBoolean;
	import weave.core.LinkableNumber;

			
			graphics.clear();
			
			if (editMode)
			{
				// draw invisible transparent rectangle to capture mouse events
				graphics.lineStyle(0, 0, 0);
