ping value bug fix