fix attrib location