bug in battles