fix text pane