fix delete cache

issue #142