fix bug about show information in text box.