fix for issue #87
Merge pull request #91 from vishalvijay/fix#87

fix for issue #87