fix NewPinger error