Fix ping retrieval