fixed issue #9
Merge pull request #67 from bogdanpetcu/master

fixed issue #9