delete dependent flags when object is deleted