fixes pinyin_end_add_phrases