reverting S3 fix