Fixed example bugs