optimize the using of view_agents with creating a new view view_lite_agents

optimize the using of view_agents with creating a new view view_lite_agents

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