fixes of require()