fixed spurious text in templates