Corrected ping parsing