fix for preferred_attr_units not being respected