fixing multipart upload bug