matching title to the header