Fix bugs of attribute options