fixed sample code in README, ref #54