fixed cache flush