Fix cache sequence