bugfix in examples