fixing repl stuff