fixed cache settings bug