fix bug in text