Fixed memory leak concerning i18n