fix typo in README.md

The example code when run as such raises an error.