fix ping synchronizing bug.