fixes #37
Merge pull request #38 from nexpy/issue37

fixes #37