hide deprecation message about enforcing locales