fixed a minor error in template, refs #299