fixing issue #215
Merge pull request #216 from meganap/agut_issue_215

fixing issue #215