fix the global scope pollution