deduplicate headlines and some perf things