updated event detail page so that it doesn't break tests