fixes #232
Merge pull request #235 from wasade/issue_232

fixes #232