Fixing S3PatternSpec