obvious fix to attr()