fix for ipv6 issue