JC: fixed mis-alignment in task definition and typo in task template.