repl bug fixed