text: fix bug