examples - fix some issues in example files