fixes issue #1888
Merge pull request #1939 from dhruv13J/develop

fixes issue #1888