ensure that the list of ips is unique