missed one bug in damageUpdate()