fix for bug 777527
Merge pull request #1577 from hardikj/master

Fix for bug 777527