fixed events display bug