fix some typos and format the code
2 files changed