fix typos and small errors