properly root args to repl_callback in repl.c