fixed the deprec message about I18n