fix sample code in README.md