fix getaddrinfo