             # Successful query, let's save it in the history
             @save_query
                 query: @raw_query
-                broken: false
+                broken_query: false
 
 
         evaluate: (query) =>

                if @history.length is 0 or @history[@history.length-1].query isnt query and @regex.white.test(query) is false
                    @history.push
                        query: query
                        broken: broken
                    if @history.length>@size_history
                        window.localStorage.rethinkdb_history = JSON.stringify @history.slice @history.length-@size_history
                    else
                        window.localStorage.rethinkdb_history = JSON.stringify @history
                    @history_view.add_query
                        query: query
                        broken: broken

        clear_history: =>
            @history.length = 0

                        @results_view.render_error(@raw_queries[@index-1], error)
                        @save_query
                            query: @raw_query
                            broken_query: true

        
        rdb_global_callback: (error, cursor) =>
