fix ip addresses