fix failed to load if cache exists