fix I18n deprecation warning