Fix small bugs in examples
Fix examples