Fixes typo in sample code