remove type and label from the extracted title.