fix clear grid wrong example code