fixed a print page rending bug