fix post bug and enable multipart upload