Fixed problems in examples