Fixes #22
Merge pull request #23 from daitel/bug_22_daitel

Fixes #22