clean up cruft from the alerts summary code