Cleaning up some typos and errors