fixing typos found from code review.