                     @inputBox.hide()
                 when OUTPUT
                     @show()
+                    @body.show()
                     @content.show()
                     @inputBox.hide()
                 when QUERY
                     @show()
+                    @body.show()
                     @content.hide()
                     @inputBox.show()
                 else

    # placeholder of the inputbox of query mode
    setPlaceholder: (content) ->
        content = _.escape content
        @inputBox.editor.placeholderText = content
        return @

    clearContent: ->

            @promise = Q.Promise (resolve, reject, notify) =>
                # confirm
                @on 'core:confirm', =>
                    log 'Panel', "queried string: #{@inputBox.getText()}"
                    @hide()
                    resolve @inputBox.getText()
        return @
