fixed a bug in the interpreter that caused the repl to act weird