last template replacements hopefully