Bump version to 1.0.1
Fix sample code