fixed the require calls