fixes for examples