fixes #373
Merge pull request #407 from gauravgopi123/github-373

fixes #373