Fixed typo in sample code