Fixing typos

A couple of copy-paste typos.
Use the right attributes.

Used the wrong ones.
Fix attribute name.
Merge pull request #5 from ebrentnelson/master

Use correct attrs.