Fix the example of scattering
Fix scatter examples.