- removed unused struct
- added missing check
Merge pull request #12 from aschnell/master

- fix and cleanup