fix creation of title from link.
empty titles set in the head could lead to a nameless entry.