clean bugs in doc