fix cache warning