fix require dir