fix events index page