fixes #307
Merge pull request #308 from gauravgopi123/github-307

fixes #307