deleting templates