fix example codes