error with adding diacritics