fixed s3 upload crash on transformation fail