require cache and cache fixing