empty input handling in repl