safe guards for cache collisions