cache cleaning little optimization