fix trailing character in temporal anchor text extraction