add statistic for cache error analysis