more double printing optimization