fixed stack and cache