bug fix
incorporating review comments
Merge pull request #2 from vaibhavteakade/bug_3032

Bug 3032