Complete - task : clear orphan nodes