fix typos and consistent style