Fix problems with Cyrillic in the template