fix Cache.delete