fixes typos, adjusts whitespace