Fix "fns.captures maybe undefined when the async is set true"