fix typo in example code from documentation