fix error in examples