fix inheritace of attribute options