Fix #62
Merge pull request #64 from meteorhacks/fix-attributes-error

Fix #62