fixes for examples and exports