delete anything except doc