removed orphaned nodes