fix wrong example code