Fix invalid value for `event.listeners`.