Fix error in examples