fix active_cache bug: cache key is wrong