fix stream delete