part2.6

Correct the bugs in doc_map