fix minifyGlobals in separate pass