fix sample code
code replaced Code Summary