typo fixes and formatting