fix some issues to upload in S3 - done