fixed typos and some other small quirks