Require dir fix