fixed avail ping value check