fixed document bugs.