fixes issue #163.
Merge pull request #195 from matthid/issue_163

fixes issue #163.