fix ping graph bug