fix print problem.

prettyPrintVisior.java still have some defects to fix.