Correcting templating