reset element templates
chain improvements