fix multipart processing