Fix problem in examples