Fix some small errors based on doc diff script