fix typos and style