fix multipart streaming