handling titles from a medium instead of a document