[cloudpinyin] fix a invalid read