fix cache setting