Merge pull request #3546 from murillodigital/master

Fixing globals var scopt
Missed one