Fix some typos and style issues