fixes #909
Merge pull request #911 from brine/patch-1

fixes #909