fix example bug by me