Correct the template