display of text is none when there is no text