fixes a few typos and some formatting issues