small changes to peer connection condition