updated caching delete bug