fix namespace S3 method