Fixed typo in the sample code.

Fixed #51