fix cache key bug