modify require reference