Fix issue #7.
Merge pull request #8 from msdx/master

Fix issue #7.