fixed cache invalidation