fix bad attribute name