fixing cache clean bug