fix repl