remove s3 dependency