template fix after schema update