fix cache settings