fix typos and iterate