small fixes in example

everything described in commits