Fixing title extraction