nth root extra check added