fix local cache byte counting on object removal