Removed set_trace from the event callback.