fix errors on i18n attributes