fix useText error issue