suggested fix for iss8 by 'daurnimator'
Merge pull request #21 from jessehorne/master

suggested fix by 'daurnimator' for issue #8