Fix mapping in Badge with the events.