if all children have no access then remove parent