removing the template handlers