fix example's bug