fix bug where LRU cache is not cleared on delete