fixed issue #6
Merge pull request #10 from KapJep/fix-issue-6

fixed issue #6 (corrected)