fix README sample code