initial fix in pdf printing