correct template formatting