                     graph.source.nodeProperties.getSessionState() as Array :
                     graph.source.edgeProperties.getSessionState() as Array;
 
-            for (var idx:int = columns.length - 1; idx >= 0; idx--)
+            for (idx = columns.length - 1; idx >= 0; idx--)
             {
                 children.push(new GraphMLColumnNode(this, columns[idx]));
             }

            
            if (layerNames.length > 0)
            {
                for (var idx:int = layerNames.length - 1; idx >= 0; idx--)
                {
                    children.push(new GraphMLLayerNode(this, layerNames[idx]));
                }


            var raw_data_column:Array = getPropertyArray(raw_rows, metadata[COLUMNNAME_META], data_remap_src);
            var raw_key_column:Array = getPropertyArray(raw_rows, GraphMLConverter.ID, key_remap_src);
            var raw_id_column:Array = getPropertyArray(raw_rows, GraphMLConverter.ID, null);

            var data_column:Array = new Array();
            var key_column:Array = new Array();
