fix insidious bug linking all entities to the exact same resistances.