fixed peerhandler init logic
asdf