fix repl exception handling