Fix sync to s3