Fixed bug in display text