fix ipv6 issue