diff --git a/lib/util/data-server.js b/lib/util/data-server.js
index <HASH>..<HASH> 100644
--- a/lib/util/data-server.js
+++ b/lib/util/data-server.js
@@ -154,30 +154,16 @@ function getFrames(curReqId, lastFrameId) {
   }
   var result = [];
   var count = 16;
-  var len = frames.length;
-  var i, frame;
-  if (!lastFrameId) {
-    for (i = 0; i < len; i++) {
-      frame = frames[i];
-      if (frame.reqId === curReqId) {
-        result.push(decodeData(frame));
-        if (--count <= 0) {
-          return result;
-        }
-      }
-    }
-    return result;
-  }
-  for (i = len - 1; i >= 0; i--) {
-    frame = frames[i];
-    if (frame.reqId === curReqId && frame.frameId > lastFrameId) {
+  for (var i = 0, len = frames.length; i < len; i++) {
+    var frame = frames[i];
+    if (frame.reqId === curReqId && (lastFrameId ? frame.frameId > lastFrameId : count > 0)) {
       result.push(decodeData(frame));
       if (--count <= 0) {
         break;
       }
     }
   }
-  return result.reverse();
+  return result;
 }
 
 function getLastFrameId(curReqId) {
fix: loss frames when open for first time