some typo fixes and style updates