Async display hotfix
diff --git a/asterix-app/src/main/resources/sdk/static/cherry/examples/cherry.html b/asterix-app/src/main/resources/sdk/static/cherry/examples/cherry.html
index 7059e24..8462564 100755
--- a/asterix-app/src/main/resources/sdk/static/cherry/examples/cherry.html
+++ b/asterix-app/src/main/resources/sdk/static/cherry/examples/cherry.html
@@ -144,7 +144,7 @@
           </div>
         
         <div class="span4 well" id="review-well" style="display:none;">
-            <div class="btn-group" style="margin-bottom: 10px;" id="group-tweetbooks">
+            <!-- <div class="btn-group" style="margin-bottom: 10px;" id="group-tweetbooks">
                 <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                     Tweetbooks
                     <span class="caret"></span>
@@ -158,7 +158,7 @@
                     <div id="review-tweetbook-titles">
                     </div>
                 </ul>
-            </div><br/>
+            </div><br/>-->
             
             <div class="btn-group" id="group-background-query" style="margin-bottom: 10px;">
                 <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
diff --git a/asterix-app/src/main/resources/sdk/static/cherry/js/cherry.js b/asterix-app/src/main/resources/sdk/static/cherry/js/cherry.js
index 557b735..2bfd1a4 100755
--- a/asterix-app/src/main/resources/sdk/static/cherry/js/cherry.js
+++ b/asterix-app/src/main/resources/sdk/static/cherry/js/cherry.js
@@ -401,7 +401,7 @@
                 "http://localhost:19002/query/result",
                 { "handle" : JSON.stringify(asyncQueryManager[handle_id]["handle"])},
                 {
-                    "sync"  : function () { alert("hello world"); },
+                    "sync"  : cherryQuerySyncCallback,
                 },
                 {
                     "payload"       : asyncQueryManager[handle_id]["data"],
@@ -440,7 +440,11 @@
 * @param    {Object}    extra, extra data passed from the API call - legacy stuff
 */
 function cherryQuerySyncCallback(res, extra) {
+    
     records = res["results"];
+    if (typeof res["results"][0] == "object") {
+        records = res["results"][0];
+    }
 
     var coordinates = [];
     var weights = [];