Use  in the correct context to access attributes
Merge pull request #79 from SimpleFinance/attr-fix

Use  in the correct context to access attributes