confirmation and repl fixes