fix events index