Fix typos and formatting issues