fixing cache problem