fix typos and minor tweaks