Fixes but with setting globals.

Fixes https://github.com/geoloqi/Terraformer/issues/67