fixed issue#8
Merge pull request #16 from Temnoslav/master

fixed issue#8