fix typos and small improvements