set max events to show