Fixing reference to attribute