fix code examples in README.md