clean FO templating