fix typos in tutorial example code