fix IPv6 address support