fix global.require reference