Fixed compatibility errors in PingService