Fix sample code on README.md, because it cannot execute it