fix console restore problem
printout update