fix problem with identifiying peer using ip address