fix typos on code example