Fixes bug 1099249
Merge pull request #131 from anurag90x/master

Fixes bug 1099249