fix edit stream