fixed events tab bug