Patched a bug for S3 when used in a non-English locale