fix example code