fixed bug related to damage updates