fixes #597
Merge pull request #612 from gauravgopi123/git-597

fixes #597