clean up titles and links