partial repl fix