Fix bug battle.