Fix crashed s3