fix repl helper