fix typos and minor mistakes