fix cache refresh issue