fix the first example code