README.md: fix bug in exmaple code