Flux.data ? why is data undefined?

in this:
data = Iterators.repeated((), 100)

opt = ADAM(0.1)

cb = function () #callback function to observe training

display(loss_rd_dde())

using remake to re-create our prob with current parameters p

display(plot(solve(remake(prob,p=Flux.data(p)),alg,save_everystep=true),ylim=(0,6)))

end

cb()

ERROR: LoadError: UndefVarError: data not defined
Stacktrace:
[1] (::var"#5#6")()

when it works fine in modelzoo:

Optimize the parameters so the ODE’s solution stays near 1

data = Iterators.repeated((), 100)

opt = ADAM(0.1)

cb = function () #callback function to observe training

display(loss_rd())

using remake to re-create our prob with current parameters p

display(plot(solve(remake(prob,p=Flux.data(p)),Tsit5(),saveat=0.1),ylim=(0,6)))

end

Display the ODE with the initial parameter values.

cb()

Flux.train!(loss_rd, [p], data, opt, cb = cb)