correct some typos and format issues