fix streaming from WS