correct typos and formatting issues