fix the events pages