fix: do not inject global
variable into module wrapper
#10644
Merged
global
variable into module wrapper
#10644