merge attrib and attribs.