fixes peerserver issue 3.