 
             if size >= 1073741824
                 sizeStr = (size/1073741824).toFixed(1)+'GB'
-            else if size>=1048576
+            else if size >= 1048576
                 sizeStr = (size/1048576).toFixed(1)+'MB'
-            else if size>=1024
+            else if size >= 1024
                 sizeStr = (size/1024).toFixed(1)+'KB'
-            else if size > 1
-                sizeStr = size+' bytes'
             else if size is 1
                 sizeStr = size+' byte'
-            else if size is 0
+            else
                 sizeStr = size+' bytes'
 
 

            if size is 0
                return "<binary, #{sizeStr}>"
            else
                str = atob bin.data.replace(/[ \r\n]+$/, "")
                snippet = ''
                for char, i  in str
                    next = str.charCodeAt(i).toString(16)

                        break
                    else
                        snippet += " "
                return "<binary, #{sizeStr}, \"#{snippet}\">"

    class @ResultView extends DataExplorerView.SharedResultView
        className: 'result_view'
