fix delete empty s3 issue