fix repetition for root