Fixing issue #251
Merge pull request #254 from meganap/agut_issue_251

Fixing issue #251