Fix phrase extraction