fix cache key calculation bug for KENs