fix typos and other minor tweaks