ugly fix

Fixes #963
Merge pull request #965 from gregcaporaso/issue-963

ugly fix