fixes #215
Merge pull request #217 from wasade/issue_215

fixes #215