Fix errors caused by old templates