fix invalid chars in peerids