tweak cache key generation