fix a bunch of typos and such