remove redundant root extractions