fixes for examples for proper runs