removed unused MAX_EVENT_HEIGHT