add get to peer.c&remove provider