fix dirt repl bug