Revert unintended global change

made in commit 25505c9216d84eee65ba1e230d6e9ce9600d5093