fix typo in example logic
v0.6.1