     .then ([encodedProps, childrenTag]) =>
       encodedProps.art_engine_version = "0.0.2"
       encodedProps.kimi_editor_version = "0.6.0"
-      ArtFileTag encodedProps, childrenTag, @bitmapsTag
+      RootTag ArtFileTag encodedProps, childrenTag, @bitmapsTag
 
   toEncodedArtFile: (element) =>
     @toArtFileTags element

    .then (jpg) =>
      @bitmapTags[uniqueId] = BitmapTag
        bitmap_id: @bitmapTagCount++
        bitmap: jpg

  _populateBitmapSubTagsRecursive: (element) ->
    {bitmap, children} = element

  ArtSolidFillTag
  BitmapsTag
  BitmapTag
  RootTag
} = createTagFactories "Root bitmaps bitmap art_file pego art_bitmap children art_stencil_shape art_rectangle art_solid_fill"

elementNameToV1NameMap =
  Element: "pego"
