fix some typos, make spacing consistent