fixed issue #11
Merge pull request #14 from kroleg/fix-issue-11

fixed issue #11