Minor template bug