fix code snippets in README.md