correct ipv6 check