Correct clear cache code