fix bug in public event_interface