remove reliance on cache attribute