Fix issue #8
Merge pull request #13 from ammubhave/master

Fixed issue #8