fixing cache error