fix require scan