reverting s3 changes