change attr.name to attr.value

rt