Generate template bug #100