[DOC release] fix sample code inconsistencies