fix the disk cache deletion