fixed repl