Template fixing