Corrects Templates