fixed the require()