TEDIE: fix the title extraction