fix cache deletion fail problem