a small template bug