fix /events on pages