Fix a get public IP problem