fix undeleted documents