Fix S3 removal failed