dealing with mysterious empty cache bug