fix concerning inherited attributes and unset attributes