small typo in the sample code