fix attrib initialization