getting id works over xhr stream