removed deprecation warning related to i18n