replace some other occurences of require