Fixed template formatting bug.