modify require / before handling