implemented ParamDefault and use it in Agent and Scope