fixed tournament end bug