safely remove doc details