         var type:String = dataDescriptor.getType(nativeMenuItem.data).toLowerCase();
         if (type == "check")
         {
-            var checked:Boolean = !dataDescriptor.isToggled(nativeMenuItem.data);
-            nativeMenuItem.checked = checked;
-            dataDescriptor.setToggled(nativeMenuItem.data, checked);
-            // this causes an update event which ends up re-creating
-            // the whole menu... (SDK-13109)
+        	var checked:Boolean = !dataDescriptor.isToggled(nativeMenuItem.data);
+        	nativeMenuItem.checked = checked;
+        	dataDescriptor.setToggled(nativeMenuItem.data, checked);
+        	// this causes an update event which ends up re-creating
+        	// the whole menu... (SDK-13109)
         }
 
         var menuEvent:FlexNativeMenuEvent = new FlexNativeMenuEvent(FlexNativeMenuEvent.ITEM_CLICK);


    /**
     *  @inheritDoc
     *  
     *  @langversion 3.0
     *  @playerversion AIR 1.1
     *  @productversion Flex 3
     */
    public function validateSize(recursive:Boolean = false):void
    {

        menuEvent.nativeMenu = nativeMenu;
        dispatchEvent(menuEvent);
    }
 	
 	/**
     *  @private
     */
    private function collectionChangeHandler(ce:CollectionEvent):void
