remove root-require from core (keep in tests)