duplicate template.html fixed