fix AllExample to work