remove default text in textArea, fix bugs about prettyprint in Display
Mode