fix attribute handling
Merge pull request #26 from redmunds/attr-handling

Fix attribute handling