more document cleanup