changed attrib binding to older convention