repair xml and rename templatename in kicktemp