made cache key generation more friendly