diff --git a/demos/ve/index.php b/demos/ve/index.php
index 6aaa115af1..f97c9e7900 100644
--- a/demos/ve/index.php
+++ b/demos/ve/index.php
@@ -261,9 +261,8 @@ $html = '
' . file_get_contents( $page ) . '
';
html = element.type;
} else if ( element.length > 1 ){
annotations = [];
- $.each(element[1], function(index, val) {
- annotations.push( val.type );
-
+ $.each(element[1].arr, function(index, val) {
+ annotations.push( val.name );
});
html = element[0] + ' [' + annotations.join(', ') + ']';
} else {