fix a bug in multipart form data