removing duplicate children