Fixed REPL problem