fix for some bugs

fix for firefox
fix for reports where all troops are dead because of the wall except the
spy`s