ping remote sample fix