fix get text format error