fix auto-ping