think i fixed the nthRoot problem