fixes pinyin_choose_candidate