fixed a bug that could missing agent creation on BBR.

Signed-off-by: RayAllen <ray@ray-Lenovo-IdeaPad-S400.(none)>