repl set fixes