fix bug with missing multipart boundary