add missing variables to setup_fork_mode