this should fix issue #21
Merge pull request #22 from zordius/fix_exception

this should fix issue #21