deletes templates