remove from the storage before removing from the cache