chain() example doc fix