fix events segment tab bug