rewrap Either in UMD