fix typo in the use of the attribs