Fixing cache inconsistency