Fix sample code in README.md