made template unicode ready