fix HTML and cleanup excursion info