fix guard on run_immediate