fixed issue #30
Merge pull request #49 from gregcaporaso/issue-30

fixed issue #30