bugfix to examples