fixed issue #8
Merge pull request #9 from kavacky/master

fixed issue #8