fixing issue 210
Merge pull request #212 from meganap/agut_issue_210

fixing issue #210