work save

fix error in calculating damage taken by city