Fixing cache setting