fixed a couple of typos in typesetting template.