avoid plotting empty text