fix bugs for list agents & companies with "id" stuff

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