Correcting pingNumber type