fix typos in Design example code