refactor show event page