refine.
support to S3
fix to s3:// check.