 
         [code, cursor_pos] = @getCodeToInspect()
 
-        KernelManager.inspect language, code, cursor_pos, (result) ->
+        KernelManager.inspect language, code, cursor_pos, (result) =>
             console.log 'inspect result:', result
             found = result['found']
             if found is true

            'hydrogen:remove-watch': => @watchSidebar.removeWatch()
            'hydrogen:update-kernels': -> KernelManager.updateKernels()
            'hydrogen:inspect': => @inspect()

        @subscriptions.add atom.commands.add 'atom-workspace',
            'hydrogen:clear-results': => @clearResultBubbles()

        @subscriptions.add(atom.workspace.observeActivePaneItem(
            @updateCurrentEditor.bind(this)))

            code = @getRow(row)
            cursor_pos = cursor.getBufferColumn()
        return [code, cursor_pos]

    toggleInspectorSize: ->
        if @inspector?
            @inspector.toggle()

    closeInspector: ->
        if @inspector?
            @inspector.close()
