fix example 07_events