bug nodamage fix