minor changes.

fixing some typos and trailing spaces.