error using Optim in julia v0.7.0

In julia v0.6.1 this command

opt=optimize(x->X2(x), initial_x, lower, upper,Fminbox{NelderMead}())

works very well, but in julia v0.7.0 give this error

MethodError: no method matching Fminbox{NelderMead,T,P} where P where T()

in top-level scope at base\none

anyone knows what happened ?

opt=optimize(x->X2(x), initial_x, lower, upper, Fminbox(NelderMead()))

See the documentation