Fix REPL pane io issue