Fixed peerdiscovery issue.