Set vars back on the template