fix require caching