Fixed bug with writing of damage