fixed doc following code review.