optimize peer

Signed-off-by: Manson Li <lijinsong@intfhink.com>