fix parsing ping output