fix typos and remove additional semicolons