Fixing require on extraction