syntax mistake in template