fix require module multiple times when scanning dir