minor fixes for examples and docs