fixes some typos and formatting