fixes #94
Merge pull request #95 from adamrp/issue-94

fixes #94