renderPrint modified