fixed issue with ip addresses