protecting the global environment from global modifying modules