fix get public ip in unlink internet error.