check if valid template
fix xml subfolder not renamed